from django.conf.urls import url

from . import views

urlpatterns=[
    # 注册-获取图片验证码路由
    url(r'^image_codes/(?P<image_code_id>[\w-]+)/$',views.ImageCodeView.as_view()),
    url(r'^sms_codes/(?P<mobile>1[35678]\d{9}/$)',views.SMSCodeView.as_view()),
]